#include "CylinderNode.h"

CylinderNode::CylinderNode(void)
{
}

CylinderNode::CylinderNode(float fR1, float fR2, float fHight, int iRes)
{
	fRad1 = fR1;
	fRad2 = fR2;
	fHight = fHight;
	iNumSides = iRes;
}
CylinderNode::~CylinderNode(void)
{
}

void CylinderNode::Build()
{
		D3DXCreateCylinder(pd3dDevice, fRad1, fRad2, fHight, iNumSides, 1, &pGeomMesh, NULL);
}
